package com.suse.lhw.hms.exersiseserver.dao;

import com.suse.lhw.hms.exersiseserver.domin.EMoventmodel;
import com.suse.lhw.hms.exersiseserver.domin.EPackage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.exersiseserver.dao
 * @ClassName: EPackageMapper
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/5/9 16:35
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/5/9 16:35
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Mapper
public interface EPackageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(EPackage record);

    int insertSelective(EPackage record);

    EPackage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EPackage record);

    int updateByPrimaryKey(EPackage record);

    List<EPackage> insertAllByStatus(int defaultt);

    List<EPackage> selectAllByStatus(int defaultt);

    List<EPackage> selectByTypeName(int defaultt, String name);

    List<EPackage> selectByTypeUserid(int defaultt, String userId);

    List<EPackage> selectByTypeUseridName(int defaultt, String userId, String name);
}